package com.hgw.Demo04_CreateInterator.Exercises19_8_4;

import java.util.List;

/**
 * Data time:2021/12/18 13:57
 * StudentID:2019112118
 * Author:hgw
 * Description: 电视频道集合，充当具体聚合类
 */
public class TCList extends AbstractTCList{
    public TCList(List<TC> tcList) {
        super(tcList);
    }

    // 实现创建迭代器对象的具体工厂方法
    @Override
    public AbstractTCListIterator createTCListIterator() {
        return new TCListIterator(this);
    }
}
